import os
from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
#    (r'^map/', include('pottononline.map.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    (r'^assets/(?P<path>.*)$', 'django.views.static.serve',
        {'document_root': os.path.join(os.path.split(__file__)[0], "media")}),

    # Uncomment the next line to enable the admin:
    (r'^admin/(.*)', admin.site.root),

    (r'^classifieds/', include('pottononline.classifieds.urls')),
    (r'^', include('pottononline.map.urls')),

)

